How to write Unix shell program to convert binary number to decimal

welcome to shbcf.ru